﻿using PowerHub.MES.DTO.Crew.DTO;
using PowerHub.MES.DTO.Crew.QueryDto;
using PowerHub.MES.DTO.Shopfloor.DTO;
using PowerHub.MES.DTO.Shopfloor.QueryDTO;
using PowerHub.MES.Entities.Crew;
using PowerHub.MES.Entities.Shopfloor;
using PowerHub.MES.ReturnEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PowerHub.MES.IServices.ICrew
{
    /// <summary>
    ///班组类型接口层
    /// </summary>
    public interface ICrew_TeamTypeServices
    {
        /// <summary>
        /// 获取班级类型列表
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationPageResult<List<Crew_TeamType>>> GetCrew_TeamTypePageListAsync(QueryCrew_TeamTypeDTO query);


        /// <summary>
        /// 添加班级类型
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> CreateCrew_TeamTypeAsync(Crew_TeamTypeDTO query);

        /// <summary>
        /// 批量删除班级类型
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> DeletionCrew_TeamTypeAsync(List<string>? ids);

        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public Task<OperationResult<bool>> UpdateCrew_TeamTypeAsync(Crew_TeamTypeDTO query);
    }
}
